package com.huatai.vba.finrecon.quartz;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

import com.huatai.vba.service.VbaFileTaskRecordService;
import com.huatai.vba.service.VbaFileTaskService;

public abstract class AbstractTaskAction {

	protected static final Logger logger = LoggerFactory.getLogger(AbstractTaskAction.class);

	@Autowired
	protected VbaFileTaskService vbaFileTaskService;

	@Autowired
	protected VbaFileTaskRecordService vbaFileTaskRecordService;

	abstract void execute() throws Exception;

	protected boolean isHoliday(String date) {
		// TODO
		return false;
	}

}
